package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.cultivate.entity.EnrollInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.OrderApply;
import com.xmy.cultivate.entity.views.EnrollDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 招生数据 服务类
 * </p>
 *
 * @author min
 * @since 2023-02-10
 */
public interface IEnrollInfoService extends IService<EnrollInfo> {

    public abstract List<EnrollInfo> getEnrollInfoList(String orderId);

    public abstract boolean addEnrollInfo(OrderApply orderApply);

    public abstract boolean delEnrollInfo(String id);

    public abstract IPage<EnrollDetail> culars(IPage<?> page,Wrapper wrapper);

    public abstract List<String> getEnrollTeacher(Long orderId,Integer type);

    boolean updateIsTrue();

    void batchAddEnrollGrant();
}
